package com.usdt.system.dto.cp;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.enums.BooleanEnum;
import com.alibaba.excel.enums.poi.VerticalAlignmentEnum;

import lombok.Data;

@Data
@ContentRowHeight(15)//高度(自动换行后，隐藏多余数据)
//自动换行 垂直居中
@ContentStyle(wrapped = BooleanEnum.TRUE,verticalAlignment = VerticalAlignmentEnum.CENTER)
public class ActivityCustomerExcelDTO{
	
    @ExcelProperty(index = 0, value = "住户名称")
    @ColumnWidth(15)
    private String customerName;

    @ExcelProperty(index = 1, value = "住户房间/床位")
    @ColumnWidth(30)
    private String roomName;
}
